/*
 * An XML document type.
 * Localname: process-definition
 * Namespace: urn:jbpm.org:jpdl-3.2
 * Java type: x2.orgJpdl3.jbpm.ProcessDefinitionDocument
 *
 * Automatically generated - do not modify.
 */
package x2.orgJpdl3.jbpm;


/**
 * A document containing one process-definition(@urn:jbpm.org:jpdl-3.2) element.
 *
 * This is a complex type.
 */
public interface ProcessDefinitionDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ProcessDefinitionDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("processdefinition5d48doctype");
    
    /**
     * Gets the "process-definition" element
     */
    x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition getProcessDefinition();
    
    /**
     * Sets the "process-definition" element
     */
    void setProcessDefinition(x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition processDefinition);
    
    /**
     * Appends and returns a new empty "process-definition" element
     */
    x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition addNewProcessDefinition();
    
    /**
     * An XML process-definition(@urn:jbpm.org:jpdl-3.2).
     *
     * This is a complex type.
     */
    public interface ProcessDefinition extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ProcessDefinition.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("processdefinitioned1belemtype");
        
        /**
         * Gets a List of "description" elements
         */
        java.util.List<java.lang.String> getDescriptionList();
        
        /**
         * Gets array of all "description" elements
         * @deprecated
         */
        java.lang.String[] getDescriptionArray();
        
        /**
         * Gets ith "description" element
         */
        java.lang.String getDescriptionArray(int i);
        
        /**
         * Gets (as xml) a List of "description" elements
         */
        java.util.List<org.apache.xmlbeans.XmlString> xgetDescriptionList();
        
        /**
         * Gets (as xml) array of all "description" elements
         * @deprecated
         */
        org.apache.xmlbeans.XmlString[] xgetDescriptionArray();
        
        /**
         * Gets (as xml) ith "description" element
         */
        org.apache.xmlbeans.XmlString xgetDescriptionArray(int i);
        
        /**
         * Returns number of "description" element
         */
        int sizeOfDescriptionArray();
        
        /**
         * Sets array of all "description" element
         */
        void setDescriptionArray(java.lang.String[] descriptionArray);
        
        /**
         * Sets ith "description" element
         */
        void setDescriptionArray(int i, java.lang.String description);
        
        /**
         * Sets (as xml) array of all "description" element
         */
        void xsetDescriptionArray(org.apache.xmlbeans.XmlString[] descriptionArray);
        
        /**
         * Sets (as xml) ith "description" element
         */
        void xsetDescriptionArray(int i, org.apache.xmlbeans.XmlString description);
        
        /**
         * Inserts the value as the ith "description" element
         */
        void insertDescription(int i, java.lang.String description);
        
        /**
         * Appends the value as the last "description" element
         */
        void addDescription(java.lang.String description);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "description" element
         */
        org.apache.xmlbeans.XmlString insertNewDescription(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "description" element
         */
        org.apache.xmlbeans.XmlString addNewDescription();
        
        /**
         * Removes the ith "description" element
         */
        void removeDescription(int i);
        
        /**
         * Gets a List of "swimlane" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane> getSwimlaneList();
        
        /**
         * Gets array of all "swimlane" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane[] getSwimlaneArray();
        
        /**
         * Gets ith "swimlane" element
         */
        x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane getSwimlaneArray(int i);
        
        /**
         * Returns number of "swimlane" element
         */
        int sizeOfSwimlaneArray();
        
        /**
         * Sets array of all "swimlane" element
         */
        void setSwimlaneArray(x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane[] swimlaneArray);
        
        /**
         * Sets ith "swimlane" element
         */
        void setSwimlaneArray(int i, x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane swimlane);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "swimlane" element
         */
        x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane insertNewSwimlane(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "swimlane" element
         */
        x2.orgJpdl3.jbpm.SwimlaneDocument.Swimlane addNewSwimlane();
        
        /**
         * Removes the ith "swimlane" element
         */
        void removeSwimlane(int i);
        
        /**
         * Gets a List of "start-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.StartStateDocument.StartState> getStartStateList();
        
        /**
         * Gets array of all "start-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.StartStateDocument.StartState[] getStartStateArray();
        
        /**
         * Gets ith "start-state" element
         */
        x2.orgJpdl3.jbpm.StartStateDocument.StartState getStartStateArray(int i);
        
        /**
         * Returns number of "start-state" element
         */
        int sizeOfStartStateArray();
        
        /**
         * Sets array of all "start-state" element
         */
        void setStartStateArray(x2.orgJpdl3.jbpm.StartStateDocument.StartState[] startStateArray);
        
        /**
         * Sets ith "start-state" element
         */
        void setStartStateArray(int i, x2.orgJpdl3.jbpm.StartStateDocument.StartState startState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "start-state" element
         */
        x2.orgJpdl3.jbpm.StartStateDocument.StartState insertNewStartState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "start-state" element
         */
        x2.orgJpdl3.jbpm.StartStateDocument.StartState addNewStartState();
        
        /**
         * Removes the ith "start-state" element
         */
        void removeStartState(int i);
        
        /**
         * Gets a List of "node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.NodeDocument.Node> getNodeList();
        
        /**
         * Gets array of all "node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node[] getNodeArray();
        
        /**
         * Gets ith "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node getNodeArray(int i);
        
        /**
         * Returns number of "node" element
         */
        int sizeOfNodeArray();
        
        /**
         * Sets array of all "node" element
         */
        void setNodeArray(x2.orgJpdl3.jbpm.NodeDocument.Node[] nodeArray);
        
        /**
         * Sets ith "node" element
         */
        void setNodeArray(int i, x2.orgJpdl3.jbpm.NodeDocument.Node node);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node insertNewNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node addNewNode();
        
        /**
         * Removes the ith "node" element
         */
        void removeNode(int i);
        
        /**
         * Gets a List of "state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.StateDocument.State> getStateList();
        
        /**
         * Gets array of all "state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.StateDocument.State[] getStateArray();
        
        /**
         * Gets ith "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State getStateArray(int i);
        
        /**
         * Returns number of "state" element
         */
        int sizeOfStateArray();
        
        /**
         * Sets array of all "state" element
         */
        void setStateArray(x2.orgJpdl3.jbpm.StateDocument.State[] stateArray);
        
        /**
         * Sets ith "state" element
         */
        void setStateArray(int i, x2.orgJpdl3.jbpm.StateDocument.State state);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State insertNewState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State addNewState();
        
        /**
         * Removes the ith "state" element
         */
        void removeState(int i);
        
        /**
         * Gets a List of "task-node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode> getTaskNodeList();
        
        /**
         * Gets array of all "task-node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode[] getTaskNodeArray();
        
        /**
         * Gets ith "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode getTaskNodeArray(int i);
        
        /**
         * Returns number of "task-node" element
         */
        int sizeOfTaskNodeArray();
        
        /**
         * Sets array of all "task-node" element
         */
        void setTaskNodeArray(x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode[] taskNodeArray);
        
        /**
         * Sets ith "task-node" element
         */
        void setTaskNodeArray(int i, x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode taskNode);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode insertNewTaskNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode addNewTaskNode();
        
        /**
         * Removes the ith "task-node" element
         */
        void removeTaskNode(int i);
        
        /**
         * Gets a List of "super-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.SuperStateDocument.SuperState> getSuperStateList();
        
        /**
         * Gets array of all "super-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState[] getSuperStateArray();
        
        /**
         * Gets ith "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState getSuperStateArray(int i);
        
        /**
         * Returns number of "super-state" element
         */
        int sizeOfSuperStateArray();
        
        /**
         * Sets array of all "super-state" element
         */
        void setSuperStateArray(x2.orgJpdl3.jbpm.SuperStateDocument.SuperState[] superStateArray);
        
        /**
         * Sets ith "super-state" element
         */
        void setSuperStateArray(int i, x2.orgJpdl3.jbpm.SuperStateDocument.SuperState superState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState insertNewSuperState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState addNewSuperState();
        
        /**
         * Removes the ith "super-state" element
         */
        void removeSuperState(int i);
        
        /**
         * Gets a List of "process-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState> getProcessStateList();
        
        /**
         * Gets array of all "process-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState[] getProcessStateArray();
        
        /**
         * Gets ith "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState getProcessStateArray(int i);
        
        /**
         * Returns number of "process-state" element
         */
        int sizeOfProcessStateArray();
        
        /**
         * Sets array of all "process-state" element
         */
        void setProcessStateArray(x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState[] processStateArray);
        
        /**
         * Sets ith "process-state" element
         */
        void setProcessStateArray(int i, x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState processState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState insertNewProcessState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState addNewProcessState();
        
        /**
         * Removes the ith "process-state" element
         */
        void removeProcessState(int i);
        
        /**
         * Gets a List of "fork" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ForkDocument.Fork> getForkList();
        
        /**
         * Gets array of all "fork" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork[] getForkArray();
        
        /**
         * Gets ith "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork getForkArray(int i);
        
        /**
         * Returns number of "fork" element
         */
        int sizeOfForkArray();
        
        /**
         * Sets array of all "fork" element
         */
        void setForkArray(x2.orgJpdl3.jbpm.ForkDocument.Fork[] forkArray);
        
        /**
         * Sets ith "fork" element
         */
        void setForkArray(int i, x2.orgJpdl3.jbpm.ForkDocument.Fork fork);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork insertNewFork(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork addNewFork();
        
        /**
         * Removes the ith "fork" element
         */
        void removeFork(int i);
        
        /**
         * Gets a List of "join" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.JoinDocument.Join> getJoinList();
        
        /**
         * Gets array of all "join" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join[] getJoinArray();
        
        /**
         * Gets ith "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join getJoinArray(int i);
        
        /**
         * Returns number of "join" element
         */
        int sizeOfJoinArray();
        
        /**
         * Sets array of all "join" element
         */
        void setJoinArray(x2.orgJpdl3.jbpm.JoinDocument.Join[] joinArray);
        
        /**
         * Sets ith "join" element
         */
        void setJoinArray(int i, x2.orgJpdl3.jbpm.JoinDocument.Join join);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join insertNewJoin(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join addNewJoin();
        
        /**
         * Removes the ith "join" element
         */
        void removeJoin(int i);
        
        /**
         * Gets a List of "decision" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.DecisionDocument.Decision> getDecisionList();
        
        /**
         * Gets array of all "decision" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision[] getDecisionArray();
        
        /**
         * Gets ith "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision getDecisionArray(int i);
        
        /**
         * Returns number of "decision" element
         */
        int sizeOfDecisionArray();
        
        /**
         * Sets array of all "decision" element
         */
        void setDecisionArray(x2.orgJpdl3.jbpm.DecisionDocument.Decision[] decisionArray);
        
        /**
         * Sets ith "decision" element
         */
        void setDecisionArray(int i, x2.orgJpdl3.jbpm.DecisionDocument.Decision decision);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision insertNewDecision(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision addNewDecision();
        
        /**
         * Removes the ith "decision" element
         */
        void removeDecision(int i);
        
        /**
         * Gets a List of "end-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.EndStateDocument.EndState> getEndStateList();
        
        /**
         * Gets array of all "end-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState[] getEndStateArray();
        
        /**
         * Gets ith "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState getEndStateArray(int i);
        
        /**
         * Returns number of "end-state" element
         */
        int sizeOfEndStateArray();
        
        /**
         * Sets array of all "end-state" element
         */
        void setEndStateArray(x2.orgJpdl3.jbpm.EndStateDocument.EndState[] endStateArray);
        
        /**
         * Sets ith "end-state" element
         */
        void setEndStateArray(int i, x2.orgJpdl3.jbpm.EndStateDocument.EndState endState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState insertNewEndState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState addNewEndState();
        
        /**
         * Removes the ith "end-state" element
         */
        void removeEndState(int i);
        
        /**
         * Gets a List of "mail-node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.MailNodeDocument.MailNode> getMailNodeList();
        
        /**
         * Gets array of all "mail-node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode[] getMailNodeArray();
        
        /**
         * Gets ith "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode getMailNodeArray(int i);
        
        /**
         * Returns number of "mail-node" element
         */
        int sizeOfMailNodeArray();
        
        /**
         * Sets array of all "mail-node" element
         */
        void setMailNodeArray(x2.orgJpdl3.jbpm.MailNodeDocument.MailNode[] mailNodeArray);
        
        /**
         * Sets ith "mail-node" element
         */
        void setMailNodeArray(int i, x2.orgJpdl3.jbpm.MailNodeDocument.MailNode mailNode);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode insertNewMailNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode addNewMailNode();
        
        /**
         * Removes the ith "mail-node" element
         */
        void removeMailNode(int i);
        
        /**
         * Gets a List of "action" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ActionDocument.Action> getActionList();
        
        /**
         * Gets array of all "action" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action[] getActionArray();
        
        /**
         * Gets ith "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action getActionArray(int i);
        
        /**
         * Returns number of "action" element
         */
        int sizeOfActionArray();
        
        /**
         * Sets array of all "action" element
         */
        void setActionArray(x2.orgJpdl3.jbpm.ActionDocument.Action[] actionArray);
        
        /**
         * Sets ith "action" element
         */
        void setActionArray(int i, x2.orgJpdl3.jbpm.ActionDocument.Action action);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action insertNewAction(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "action" element
         */
        x2.orgJpdl3.jbpm.ActionDocument.Action addNewAction();
        
        /**
         * Removes the ith "action" element
         */
        void removeAction(int i);
        
        /**
         * Gets a List of "script" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ScriptDocument.Script> getScriptList();
        
        /**
         * Gets array of all "script" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script[] getScriptArray();
        
        /**
         * Gets ith "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script getScriptArray(int i);
        
        /**
         * Returns number of "script" element
         */
        int sizeOfScriptArray();
        
        /**
         * Sets array of all "script" element
         */
        void setScriptArray(x2.orgJpdl3.jbpm.ScriptDocument.Script[] scriptArray);
        
        /**
         * Sets ith "script" element
         */
        void setScriptArray(int i, x2.orgJpdl3.jbpm.ScriptDocument.Script script);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script insertNewScript(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "script" element
         */
        x2.orgJpdl3.jbpm.ScriptDocument.Script addNewScript();
        
        /**
         * Removes the ith "script" element
         */
        void removeScript(int i);
        
        /**
         * Gets a List of "create-timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer> getCreateTimerList();
        
        /**
         * Gets array of all "create-timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer[] getCreateTimerArray();
        
        /**
         * Gets ith "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer getCreateTimerArray(int i);
        
        /**
         * Returns number of "create-timer" element
         */
        int sizeOfCreateTimerArray();
        
        /**
         * Sets array of all "create-timer" element
         */
        void setCreateTimerArray(x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer[] createTimerArray);
        
        /**
         * Sets ith "create-timer" element
         */
        void setCreateTimerArray(int i, x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer createTimer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer insertNewCreateTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "create-timer" element
         */
        x2.orgJpdl3.jbpm.CreateTimerDocument.CreateTimer addNewCreateTimer();
        
        /**
         * Removes the ith "create-timer" element
         */
        void removeCreateTimer(int i);
        
        /**
         * Gets a List of "cancel-timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer> getCancelTimerList();
        
        /**
         * Gets array of all "cancel-timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer[] getCancelTimerArray();
        
        /**
         * Gets ith "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer getCancelTimerArray(int i);
        
        /**
         * Returns number of "cancel-timer" element
         */
        int sizeOfCancelTimerArray();
        
        /**
         * Sets array of all "cancel-timer" element
         */
        void setCancelTimerArray(x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer[] cancelTimerArray);
        
        /**
         * Sets ith "cancel-timer" element
         */
        void setCancelTimerArray(int i, x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer cancelTimer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer insertNewCancelTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "cancel-timer" element
         */
        x2.orgJpdl3.jbpm.CancelTimerDocument.CancelTimer addNewCancelTimer();
        
        /**
         * Removes the ith "cancel-timer" element
         */
        void removeCancelTimer(int i);
        
        /**
         * Gets a List of "mail" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.MailDocument.Mail> getMailList();
        
        /**
         * Gets array of all "mail" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail[] getMailArray();
        
        /**
         * Gets ith "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail getMailArray(int i);
        
        /**
         * Returns number of "mail" element
         */
        int sizeOfMailArray();
        
        /**
         * Sets array of all "mail" element
         */
        void setMailArray(x2.orgJpdl3.jbpm.MailDocument.Mail[] mailArray);
        
        /**
         * Sets ith "mail" element
         */
        void setMailArray(int i, x2.orgJpdl3.jbpm.MailDocument.Mail mail);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail insertNewMail(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "mail" element
         */
        x2.orgJpdl3.jbpm.MailDocument.Mail addNewMail();
        
        /**
         * Removes the ith "mail" element
         */
        void removeMail(int i);
        
        /**
         * Gets a List of "event" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.EventDocument.Event> getEventList();
        
        /**
         * Gets array of all "event" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.EventDocument.Event[] getEventArray();
        
        /**
         * Gets ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event getEventArray(int i);
        
        /**
         * Returns number of "event" element
         */
        int sizeOfEventArray();
        
        /**
         * Sets array of all "event" element
         */
        void setEventArray(x2.orgJpdl3.jbpm.EventDocument.Event[] eventArray);
        
        /**
         * Sets ith "event" element
         */
        void setEventArray(int i, x2.orgJpdl3.jbpm.EventDocument.Event event);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event insertNewEvent(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event addNewEvent();
        
        /**
         * Removes the ith "event" element
         */
        void removeEvent(int i);
        
        /**
         * Gets a List of "exception-handler" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler> getExceptionHandlerList();
        
        /**
         * Gets array of all "exception-handler" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] getExceptionHandlerArray();
        
        /**
         * Gets ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler getExceptionHandlerArray(int i);
        
        /**
         * Returns number of "exception-handler" element
         */
        int sizeOfExceptionHandlerArray();
        
        /**
         * Sets array of all "exception-handler" element
         */
        void setExceptionHandlerArray(x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] exceptionHandlerArray);
        
        /**
         * Sets ith "exception-handler" element
         */
        void setExceptionHandlerArray(int i, x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler exceptionHandler);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler insertNewExceptionHandler(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler addNewExceptionHandler();
        
        /**
         * Removes the ith "exception-handler" element
         */
        void removeExceptionHandler(int i);
        
        /**
         * Gets a List of "task" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TaskDocument.Task> getTaskList();
        
        /**
         * Gets array of all "task" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task[] getTaskArray();
        
        /**
         * Gets ith "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task getTaskArray(int i);
        
        /**
         * Returns number of "task" element
         */
        int sizeOfTaskArray();
        
        /**
         * Sets array of all "task" element
         */
        void setTaskArray(x2.orgJpdl3.jbpm.TaskDocument.Task[] taskArray);
        
        /**
         * Sets ith "task" element
         */
        void setTaskArray(int i, x2.orgJpdl3.jbpm.TaskDocument.Task task);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task insertNewTask(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "task" element
         */
        x2.orgJpdl3.jbpm.TaskDocument.Task addNewTask();
        
        /**
         * Removes the ith "task" element
         */
        void removeTask(int i);
        
        /**
         * Gets the "name" attribute
         */
        java.lang.String getName();
        
        /**
         * Gets (as xml) the "name" attribute
         */
        org.apache.xmlbeans.XmlString xgetName();
        
        /**
         * Sets the "name" attribute
         */
        void setName(java.lang.String name);
        
        /**
         * Sets (as xml) the "name" attribute
         */
        void xsetName(org.apache.xmlbeans.XmlString name);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition newInstance() {
              return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument.ProcessDefinition) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument newInstance() {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.ProcessDefinitionDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.ProcessDefinitionDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
